package com.partsoft.spring.support;

import java.io.IOException;
import java.util.Properties;

import org.springframework.beans.factory.config.PropertyPlaceholderConfigurer;

public class DitsPropertyConfigurer extends PropertyPlaceholderConfigurer {
	
	@Override
	protected Properties mergeProperties() throws IOException {
		Properties props = super.mergeProperties();
//		Properties sysProps = System.getProperties();
//		if (!(props.containsKey(ARG_THREAD_PREFIX)  || sysProps.containsKey(ARG_THREAD_PREFIX))) {
//			props.setProperty(ARG_THREAD_PREFIX, "fpgg");
//		}
		return props;
	}
	
	public static String VAR(String str) {
		return "${" + str + "}";
	}

}
